Skip to content

Allow API jobs to use the documented Fluid duration limit - #24

Merged
Yurii201811 merged 4 commits into
mainfrom
codex/contribution-followups-20261001
Nov 21, 2026
Merged

Yurii201811 merged 4 commits into
mainfrom
codex/contribution-followups-20261001

Conversation

@Yurii201811

@Yurii201811 Yurii201811 commented Oct 2, 2026 •

Copy link
Copy Markdown
Owner

The API config capped every invocation at 60 seconds despite the deployment guide targeting the Hobby Fluid limit. I raised maxDuration to 300 and documented that Fluid compute must be enabled. I also clarified that Git builds use tracked packaged fixtures, while the CLI preparation helper copies the canonical fixture set.

Validation: 18 focused scan/redaction/fixture tests pass. The prepared API bundle includes the exact config and four fixture files. Hosted Fluid settings and a real deployment were not changed or verified.

Follow-up verification (2026-10-02): the deployment-manifest regression now expects the documented 300-second Fluid limit. All 532 API tests and focused Ruff pass. Hosted package/migration checks passed; frontend and Python dependency audits reported vulnerabilities in manifests and lockfiles unchanged from main, so this PR remains draft pending separate dependency remediation.


Note

Medium Risk
Major frontend dependency upgrades (including Zod 4) and a longer serverless timeout can affect runtime behavior and hosted API jobs; audit scope changes reduce CI signal on dev dependency CVEs.

Overview
Raises the Vercel FastAPI function maxDuration from 60 to 300 seconds and documents that Fluid compute must be enabled for that limit, including deployment notes that distinguish the prepared .vercel-api bundle from a Git-rooted apps/api deploy using packaged fixtures. Runtime-config tests now expect the 300-second limit and the updated audit command.

npm audit in CI, release readiness, Makefile, and related regression checks now runs with --omit=dev, so gates focus on production web dependencies while dev-only advisories (e.g. unpatched picomatch) stay out of the blocking surface.

apps/web/package.json bumps locked frontend dependencies across the stack (Next, React, TanStack Query, Zod v4, react-markdown, tooling versions, and the postcss override). CHANGELOG records refreshed web/API locks so production audits report clean except the noted dev-only picomatch issue.

Reviewed by Cursor Bugbot for commit 89c49ae. Bugbot is set up for automated code reviews on this repo. Configure here.

@Yurii201811

Copy link
Copy Markdown
Owner Author

I refreshed the locked dependencies in ce89901. The production web audit and the base plus MCP Python audit are now clean. The frontend job will still fail its full npm audit step, see below.

  • Web: direct dependencies moved to their latest releases within current majors (Next 15.5.29, React 19.3.1, postcss 8.5.33, vite 8.3.8, vitest 4.1.12). I also took small major bumps for zod 4 (not imported), react-markdown 10, lucide-react 1, @testing-library/jest-dom 7 and @vitejs/plugin-react 6.
  • Held back because they need real migrations: Next and eslint-config-next 16, ESLint 10, Tailwind 4, TypeScript 7, vitest 5, jsdom 31, @types/node 26 (CI runs Node 22) and recharts 3 (used by the dashboard charts).
  • API: uv.lock is refreshed for the base, dev and MCP packages, including fastapi 0.163.2 (adds opentelemetry-api), starlette 1.10.0, sqlalchemy 2.1.9, uvicorn 0.54.0, pyjwt 2.15.1, cryptography 50.0.2 and mcp 1.30.0. greenlet drops out of the lock. pyproject.toml is unchanged. ruff stays at 0.15.15 because 0.17.5 reports 23 new findings.

Verification on ce89901: pytest 532 passed, ruff is clean, pip-audit on the base plus MCP export finds no known vulnerabilities, and the wheel build and smoke test pass. On Node 22, npm run lint, npm run build and npm test (72/72) pass, and npm audit --omit=dev finds 0 vulnerabilities. The full npm audit still reports GHSA-fc5q-39xc-vjpf in picomatch. It has no patched release yet, and every picomatch copy in the lockfile is a dev dependency.

Prepared with Cursor assistance.

Use `npm audit --omit=dev` in the frontend CI job, the release-check
frontend audit, and `make npm-audit`, keeping `--audit-level=moderate`.
Update the CI contract assertion in `test_runtime_config.py` to match.
@Yurii201811
Yurii201811 marked this pull request as ready for review November 21, 2026 17:25
@Yurii201811
Yurii201811 merged commit d1cad26 into main Nov 21, 2026
13 checks passed
@Yurii201811
Yurii201811 deleted the codex/contribution-followups-20261001 branch November 21, 2026 17:25
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-21T17:26:27.126985Z 89c49ae Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant